package com.laze.mywanandroid.ui.main.fragment.home

import com.laze.mywanandroid.api.RetrofitClient

class HomeRepository {
    suspend fun getBanner() = RetrofitClient.apiService.getBanner().apiData()
    suspend fun getArticle(page:Int) = RetrofitClient.apiService.getArticle(page).apiData()
    suspend fun getTopArticle() = RetrofitClient.apiService.getTopArticle().apiData()
}